package com.bill.common.news.dto;

import com.sinba.common.dto.BaseDTO;

import java.util.Date;

@SuppressWarnings( "serial" )
public class NewsQueryDTO
    extends BaseDTO
{
    private Long newId;
    private String title; //标题 
    private String content; //内容
    private String keyword; //关键�?
    private Long categoryId; //分类ID
    private String categoryName; //分类名称
    private String permissions; //查看权限
    private boolean isTop; //是否置顶
    private Date releaseTime; //发布时间
    private String releaseUser; //发布用户
    private String categoryCode; //分类编码
    private Long topicId;
    private int start;
    private int limit = 10;
    private String newType; //新闻类型

    public int getStart(  )
    {
        return start;
    }

    public void setStart( int start )
    {
        this.start = start;
    }

    public int getLimit(  )
    {
        return limit;
    }

    public void setLimit( int limit )
    {
        this.limit = limit;
    }

    public Long getNewId(  )
    {
        return newId;
    }

    public void setNewId( Long newId )
    {
        this.newId = newId;
    }

    public String getTitle(  )
    {
        return title;
    }

    public void setTitle( String title )
    {
        this.title = title;
    }

    public String getContent(  )
    {
        return content;
    }

    public void setContent( String content )
    {
        this.content = content;
    }

    public String getKeyword(  )
    {
        return keyword;
    }

    public void setKeyword( String keyword )
    {
        this.keyword = keyword;
    }

    public Long getCategoryId(  )
    {
        return categoryId;
    }

    public void setCategoryId( Long categoryId )
    {
        this.categoryId = categoryId;
    }

    public String getCategoryName(  )
    {
        return categoryName;
    }

    public void setCategoryName( String categoryName )
    {
        this.categoryName = categoryName;
    }

    public String getPermissions(  )
    {
        return permissions;
    }

    public void setPermissions( String permissions )
    {
        this.permissions = permissions;
    }

    public boolean isTop(  )
    {
        return isTop;
    }

    public void setTop( boolean isTop )
    {
        this.isTop = isTop;
    }

    public Date getReleaseTime(  )
    {
        return releaseTime;
    }

    public void setReleaseTime( Date releaseTime )
    {
        this.releaseTime = releaseTime;
    }

    public String getReleaseUser(  )
    {
        return releaseUser;
    }

    public void setReleaseUser( String releaseUser )
    {
        this.releaseUser = releaseUser;
    }

    public String getCategoryCode(  )
    {
        return categoryCode;
    }

    public void setCategoryCode( String categoryCode )
    {
        this.categoryCode = categoryCode;
    }

    public Long getTopicId(  )
    {
        return topicId;
    }

    public void setTopicId( Long topicId )
    {
        this.topicId = topicId;
    }

    public String getNewType(  )
    {
        return newType;
    }

    public void setNewType( String newType )
    {
        this.newType = newType;
    }

    public NewsQueryDTO(  )
    {
    }
    ;
    public NewsQueryDTO( Long newId, String title, Long categoryId, String categoryCode, Long topicId, String newType )
    {
        super(  );
        this.newId = newId;
        this.title = title;
        this.categoryId = categoryId;
        this.categoryCode = categoryCode;
        this.topicId = topicId;
        this.newType = newType;
    }
}
